name: tests221 run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-scandium/.tox/tests221/bin:/opt/pyenv/bin:/tmp/venv-buSZ/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PYTHONHASHSEED: 1121175367 env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONIOENCODING: utf-8 env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env TOX_ENV_NAME: tests221 env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-scandium/.tox env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-scandium/.tox/tests221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-scandium/.tox/tests221 metadata pid: 36601 cwd: /w/workspace/transportpce-tox-verify-scandium/tests allow: /w/workspace/transportpce-tox-verify-scandium/.tox/tests221/bin/*:launch_tests.sh cmd: ./launch_tests.sh 2.2.1 exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py FFFFFFFFFFFFFFFFFFFFFFFFFFFF.F..F.. [100%] =================================== FAILURES =================================== _________ TransportPCEPortMappingTesting.test_01_rdm_device_connection _________ self = def test_01_rdm_device_connection(self): response = test_utils.mount_device("ROADM-A1", ('roadma', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test01_portmapping.py:51: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! starting simulator xpdra in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in xpdra-221.log... Pattern found! simulator for xpdra started starting simulator roadma in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in roadma-221.log... Pattern found! simulator for roadma started starting simulator spdra in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in spdra-221.log... Pattern found! simulator for spdra started ----------------------------- Captured stdout call ----------------------------- execution of test_01_rdm_device_connection Searching for pattern 'Triggering notification stream NETCONF for node ROADM-A1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-A1 still not added to tpce topology... _________ TransportPCEPortMappingTesting.test_02_rdm_device_connected __________ self = def test_02_rdm_device_connected(self): response = test_utils.check_device_connection("ROADM-A1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:55: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_02_rdm_device_connected _________ TransportPCEPortMappingTesting.test_03_rdm_portmapping_info __________ self = def test_03_rdm_portmapping_info(self): response = test_utils.get_portmapping_node_attr("ROADM-A1", "node-info", None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:60: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_03_rdm_portmapping_info _____ TransportPCEPortMappingTesting.test_04_rdm_portmapping_DEG1_TTP_TXRX _____ self = def test_04_rdm_portmapping_DEG1_TTP_TXRX(self): response = test_utils.get_portmapping_node_attr("ROADM-A1", "mapping", "DEG1-TTP-TXRX") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:72: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_rdm_portmapping_DEG1_TTP_TXRX _ TransportPCEPortMappingTesting.test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms _ self = def test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms(self): response = test_utils.get_portmapping_node_attr("ROADM-A1", "mapping", "DEG2-TTP-TXRX") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:81: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms _____ TransportPCEPortMappingTesting.test_06_rdm_portmapping_SRG1_PP3_TXRX _____ self = def test_06_rdm_portmapping_SRG1_PP3_TXRX(self): response = test_utils.get_portmapping_node_attr("ROADM-A1", "mapping", "SRG1-PP3-TXRX") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:92: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_rdm_portmapping_SRG1_PP3_TXRX _____ TransportPCEPortMappingTesting.test_07_rdm_portmapping_SRG3_PP1_TXRX _____ self = def test_07_rdm_portmapping_SRG3_PP1_TXRX(self): response = test_utils.get_portmapping_node_attr("ROADM-A1", "mapping", "SRG3-PP1-TXRX") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:101: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_rdm_portmapping_SRG3_PP1_TXRX ________ TransportPCEPortMappingTesting.test_08_xpdr_device_connection _________ self = def test_08_xpdr_device_connection(self): response = test_utils.mount_device("XPDR-A1", ('xpdra', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test01_portmapping.py:110: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_xpdr_device_connection Searching for pattern 'Triggering notification stream NETCONF for node XPDR-A1' in karaf.log... Pattern not found after 180 seconds! Node XPDR-A1 still not added to tpce topology... _________ TransportPCEPortMappingTesting.test_09_xpdr_device_connected _________ self = def test_09_xpdr_device_connected(self): response = test_utils.check_device_connection("XPDR-A1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:114: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_xpdr_device_connected _________ TransportPCEPortMappingTesting.test_10_xpdr_portmapping_info _________ self = def test_10_xpdr_portmapping_info(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "node-info", None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:119: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_xpdr_portmapping_info _______ TransportPCEPortMappingTesting.test_11_xpdr_portmapping_NETWORK1 _______ self = def test_11_xpdr_portmapping_NETWORK1(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-NETWORK1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:131: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_11_xpdr_portmapping_NETWORK1 ____ TransportPCEPortMappingTesting.test_12_xpdr_portmapping_XPDR2_NETWORK1 ____ self = def test_12_xpdr_portmapping_XPDR2_NETWORK1(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-NETWORK2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:143: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_xpdr_portmapping_XPDR2_NETWORK1 ____ TransportPCEPortMappingTesting.test_13_xpdr_portmapping_XPDR1_CLIENT1 _____ self = def test_13_xpdr_portmapping_XPDR1_CLIENT1(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-CLIENT1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:155: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_13_xpdr_portmapping_XPDR1_CLIENT1 ____ TransportPCEPortMappingTesting.test_14_xpdr_portmapping_XPDR1_CLIENT2 _____ self = def test_14_xpdr_portmapping_XPDR1_CLIENT2(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-CLIENT2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:168: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_xpdr_portmapping_XPDR1_CLIENT2 ________ TransportPCEPortMappingTesting.test_15_spdr_device_connection _________ self = def test_15_spdr_device_connection(self): response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test01_portmapping.py:181: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_15_spdr_device_connection Searching for pattern 'Triggering notification stream NETCONF for node SPDR-SA1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not added to tpce topology... _________ TransportPCEPortMappingTesting.test_16_spdr_device_connected _________ self = def test_16_spdr_device_connected(self): response = test_utils.check_device_connection("SPDR-SA1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:185: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_16_spdr_device_connected _________ TransportPCEPortMappingTesting.test_17_spdr_portmapping_info _________ self = def test_17_spdr_portmapping_info(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "node-info", None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:190: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_17_spdr_portmapping_info _________ TransportPCEPortMappingTesting.test_18_spdr_switching_pool_1 _________ self = def test_18_spdr_switching_pool_1(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "switching-pool-lcp", "1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:202: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_18_spdr_switching_pool_1 _________ TransportPCEPortMappingTesting.test_19_spdr_switching_pool_2 _________ self = def test_19_spdr_switching_pool_2(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "switching-pool-lcp", "2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:216: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_19_spdr_switching_pool_2 _________ TransportPCEPortMappingTesting.test_20_spdr_switching_pool_3 _________ self = def test_20_spdr_switching_pool_3(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "switching-pool-lcp", "3") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:235: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_20_spdr_switching_pool_3 _______ TransportPCEPortMappingTesting.test_21_spdr_portmapping_mappings _______ self = def test_21_spdr_portmapping_mappings(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", None, None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:249: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_21_spdr_portmapping_mappings ____ TransportPCEPortMappingTesting.test_22_spdr_portmapping_XPDR1_CLIENT1 _____ self = def test_22_spdr_portmapping_XPDR1_CLIENT1(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR1-CLIENT1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:254: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_22_spdr_portmapping_XPDR1_CLIENT1 ____ TransportPCEPortMappingTesting.test_23_spdr_portmapping_XPDR1_NETWORK1 ____ self = def test_23_spdr_portmapping_XPDR1_NETWORK1(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR1-NETWORK1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:273: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_23_spdr_portmapping_XPDR1_NETWORK1 ____ TransportPCEPortMappingTesting.test_24_spdr_portmapping_XPDR2_CLIENT2 _____ self = def test_24_spdr_portmapping_XPDR2_CLIENT2(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR2-CLIENT2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:289: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_24_spdr_portmapping_XPDR2_CLIENT2 ____ TransportPCEPortMappingTesting.test_25_spdr_portmapping_XPDR2_NETWORK2 ____ self = def test_25_spdr_portmapping_XPDR2_NETWORK2(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR2-NETWORK2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:308: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_25_spdr_portmapping_XPDR2_NETWORK2 ____ TransportPCEPortMappingTesting.test_26_spdr_portmapping_XPDR3_CLIENT3 _____ self = def test_26_spdr_portmapping_XPDR3_CLIENT3(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR3-CLIENT3") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:324: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_26_spdr_portmapping_XPDR3_CLIENT3 ____ TransportPCEPortMappingTesting.test_27_spdr_portmapping_XPDR3_NETWORK1 ____ self = def test_27_spdr_portmapping_XPDR3_NETWORK1(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR3-NETWORK1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:340: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_27_spdr_portmapping_XPDR3_NETWORK1 _______ TransportPCEPortMappingTesting.test_28_spdr_device_disconnection _______ self = def test_28_spdr_device_disconnection(self): response = test_utils.unmount_device("SPDR-SA1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 409 not found in (200, 204) transportpce_tests/2.2.1/test01_portmapping.py:356: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_28_spdr_device_disconnection Searching for pattern 'onDeviceDisConnected:\ SPDR\-SA1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not deleted from tpce topology... _______ TransportPCEPortMappingTesting.test_30_xpdr_device_disconnection _______ self = def test_30_xpdr_device_disconnection(self): response = test_utils.unmount_device("XPDR-A1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 409 not found in (200, 204) transportpce_tests/2.2.1/test01_portmapping.py:368: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_30_xpdr_device_disconnection Searching for pattern 'onDeviceDisConnected:\ XPDR\-A1' in karaf.log... Pattern not found after 180 seconds! Node XPDR-A1 still not deleted from tpce topology... _______ TransportPCEPortMappingTesting.test_33_rdm_device_disconnection ________ self = def test_33_rdm_device_disconnection(self): response = test_utils.unmount_device("ROADM-A1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 409 not found in (200, 204) transportpce_tests/2.2.1/test01_portmapping.py:388: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_33_rdm_device_disconnection Searching for pattern 'onDeviceDisConnected:\ ROADM\-A1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-A1 still not deleted from tpce topology... =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_01_rdm_device_connection FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_02_rdm_device_connected FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_03_rdm_portmapping_info FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_04_rdm_portmapping_DEG1_TTP_TXRX FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_06_rdm_portmapping_SRG1_PP3_TXRX FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_07_rdm_portmapping_SRG3_PP1_TXRX FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_08_xpdr_device_connection FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_09_xpdr_device_connected FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_10_xpdr_portmapping_info FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_11_xpdr_portmapping_NETWORK1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_12_xpdr_portmapping_XPDR2_NETWORK1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_13_xpdr_portmapping_XPDR1_CLIENT1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_14_xpdr_portmapping_XPDR1_CLIENT2 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_15_spdr_device_connection FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_16_spdr_device_connected FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_17_spdr_portmapping_info FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_18_spdr_switching_pool_1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_19_spdr_switching_pool_2 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_20_spdr_switching_pool_3 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_21_spdr_portmapping_mappings FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_22_spdr_portmapping_XPDR1_CLIENT1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_23_spdr_portmapping_XPDR1_NETWORK1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_24_spdr_portmapping_XPDR2_CLIENT2 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_25_spdr_portmapping_XPDR2_NETWORK2 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_26_spdr_portmapping_XPDR3_CLIENT3 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_27_spdr_portmapping_XPDR3_NETWORK1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_28_spdr_device_disconnection FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_30_xpdr_device_disconnection FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_33_rdm_device_disconnection 30 failed, 5 passed in 1152.79s (0:19:12)